package com.example.zhangHuSheZhiDao;

import com.example.zhangHuSheZhiPoJi.ZhangHuSheZhiS;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author 。
 * @version 1.0
 * Create by 2022/11/29 21:03
 */
@Mapper
@Repository
public interface ZhangHuSheZhiDao {
    //修改头像时查询唯一
    public ZhangHuSheZhiS getAccount(int userId);
    //查询用户各种信息
    public ZhangHuSheZhiS getYongHuXinXi(int userId);
    //修改用户名称
    public Boolean modifyName(String name,int id);
    //修改个人签名
    public Boolean modifyPersonalSignature(String freestyle,int id);
    //修改手机号
    public Boolean modifyPhone(long phone,int id);
    //修改邮箱地址
    public Boolean modifyEmail(String email,int id);
    //修改密码
    public Boolean modifyPassword(String password,int id);
}
